package com.lee.lease.web.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lee.lease.model.entity.ViewAppointment;
import com.lee.lease.web.app.vo.apartment.AppointmentDetailVo;
import com.lee.lease.web.app.vo.appointment.ViewAppointmentVo;

import java.util.List;

/**
* @author liubo
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service
* @createDate 2023-07-26 11:12:39
*/
public interface ViewAppointmentService extends IService<ViewAppointment> {


    /**
     * 根据用户id查询看房预约列表
     * @param userId
     * @return
     */
    List<ViewAppointmentVo> findListItem(Integer userId);

    /**
     * 查询看房预约详情
     * @param id 预约看房记录的id
     * @return
     */
    AppointmentDetailVo getDetailById(String id);
}
